body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

@font-face
{
    font-family: 'Gotham-Book';
    src: url('/static/css/fonts/Gotham-Book.woff2'); /* IE9+ */
}

* {
    /* font-family: consolas, PingFang SC, Microsoft YaHei; */
    font-family: 'Gotham-Book';
    background-attachment: fixed;
    outline: none;
}

[v-cloak] {
    visibility: hidden !important;
}

body {
    display: flex;
    align-items: center;
    /*定义body的元素垂直居中*/
    justify-content: center;
    /*定义body的里的元素水平居中*/
    margin-top: -20px;
}

.searchImageBox {
    display: fixed!important;
    left: 20px!important;
    bottom: 120px!important;
}

.searchImageBox .loading {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.searchImageBox .list {
    position: relative;
    width: 300px;
    min-height: 100px;
    display: inline-block;
}

.searchImageBox img {
    margin: 5px;
    padding: 5px;
    border-radius: 10px;
    background-color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.el-drawer {
    outline: none;
    overflow: hidden;
    overflow-y: scroll;
}

.el-dropdown-link {
    cursor: pointer;
    color: #409EFF;
}

.el-icon-arrow-down {
    font-size: 14px;
}

.headimg {
    border-radius: 100%;
}

.item {
    position: relative;
}

.item>* {
    text-align: left;
}

.myImageList img {
    margin: 5px;
    padding: 5px;
    border-radius: 10px;
    background-color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.online_user {
    margin-bottom: 20px;
    vertical-align: middle;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online_user * {
    vertical-align: middle;
}

.main {
    background-color: #fff;
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-attachment: fixed;
}

.chat {
    position: fixed;
    left: 0;
    right: 0;
    top: 50px;
    bottom: 120px;
    padding-top: 20px;
    overflow: hidden;
    overflow-y: auto;
    padding-bottom: 20px;
    background-attachment: fixed;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background-color: rgba(50, 50, 50, 0.1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-button {
    background-color: transparent;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

.form {
    position: fixed;
    left: 0;
    right: 0;
    height: 90px;
    bottom: 0;
    border-top: 1px solid #eee;
    padding: 10px 15px;
    background-color: #fff;
    background-attachment: fixed;
    z-index: 10;
}

.form textarea {
    outline: none;
    resize: none;
    font-size: 14px;
    border: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.mine>* {
    text-align: right;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #ff4500;
}

.chat .title {
    font-size: 16px;
}

.chat .time {
    color: #999;
    font-size: 14px;
    margin: 0px 30px 30px 30px;
}

.chat .item {
    margin: 20px 30px;
    text-align: left;
}

.chat .mine {
    text-align: right;
}

.chat .content {
    display: block;
    text-align: left;
}

.mine .content {
    display: block;
    text-align: right;
}

.chat .content .text {
    overflow: hidden;
    text-align: left;
    display: inline-block;
    max-width: 60%;
    background-color: #eee;
    padding: 8px 15px;
    margin: 10px 0px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    color: #333;
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-all;
}

.item .head {
    position: absolute;
    left: 0px;
    top: 0px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 100%;
    cursor: pointer;
}

.mine .head {
    position: absolute;
    left: auto;
    right: 0px;
    top: 0px;
}

.item .detail {
    margin-left: 50px;
    margin-right: auto;
}

.mine .detail {
    margin-left: auto;
    margin-right: 50px;
    text-align: right;
}

.system {
    text-align: center;
    margin-bottom: 10px;
}

.system span {
    background-color: #eee;
    color: #999;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 12px;
}

.relogin {
    position: absolute;
    right: 20px;
    top: 10px;
    text-decoration: none;
    color: #666;
    outline: none;
}

.top {
    position: fixed;
    right: 0px;
    top: 0px;
    left: 0px;
    font-size: 14px;
    z-index: 10;
    height: 50px;
    background-color: white;
}

.top .menu {
    position: absolute;
    right: 20px;
    top: 15px;
}

.atbox {
    position: fixed;
    left: 0px;
    bottom: 110px;
    background-attachment: fixed;
    z-index: 10;
}

.atbox span {
    font-size: 14px;
}

.at_link {
    font-size: 14px;
    color: #999;
    cursor: pointer;
    /*margin-right: 5px;*/
}

.form .toolbar {
    position: absolute;
    right: 20px;
    bottom: 15px;
}

.detail .img img {
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
    cursor: pointer;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.from {
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
    margin: 0px;
}

.controll_item {
    cursor: pointer;
}

@media only screen and (max-width: 800px) {
    .menu {
        display: none;
    }
}